from django.conf.urls.defaults import *

urlpatterns = patterns('',
        url(r'^api/fans$', 'glowdrop.accounts.views.fans'),
        url(r'^api/user_auth/$', 'glowdrop.accounts.views.auth'),
        url(r'^api/user_logout/$', 'glowdrop.accounts.views.logout'),
        url(r'^api/user_valid/$', 'glowdrop.accounts.views.user_valid'),
        url(r'^api/user_exists/$', 'glowdrop.accounts.views.user_exists'),
        url(r'^api/friend/$', 'glowdrop.accounts.views.friend'),
        url(r'^api/friends/$', 'glowdrop.accounts.views.friends'),
        url(r'^api/is_friend/$', 'glowdrop.accounts.views.is_friend'),
        url(r'^api/user_info/$', 'glowdrop.accounts.views.user_info'),
        url(r'^login/$', 'glowdrop.accounts.views.login'),
        (r'^register/$', 'glowdrop.accounts.views.register'),
        (r'^profile/$', 'glowdrop.accounts.views.profile'),
        url(r'^logout/$', 'django.contrib.auth.views.logout', 
            {'next_page': '/'}),
        (r'^set_location/$', 'glowdrop.accounts.views.set_location'),
        )


